package com.ssy.lingxi.message.api.vo.request;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * webSocket消息内部服务实体
 * @author yzc
 * @version 2.0.0
 * @date 2021/5/25
 */
@Getter
@Setter
public class WsMessageRequest implements Serializable {

    private static final long serialVersionUID = -8445729440857941261L;

    /**
     * 会员id
     */
    private Long memberId;
    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 消息类型 WsAction
     */
    private String action;
    /**
     * 消息内容
     */
    private Object data;
}
